package com.lee.blog.mapper;

import com.lee.blog.bean.Message;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MessageMapper {
    List<Message> getNewMessage();
    int getMessageCount();
    List<Message> getAllMessage();
    void doMessage(Message message);
}
